import request from '@/utils/request'
export const suggestionAPI = (q) =>
  request({
    url: '/v1_0/suggestion',
    params: {
      q
    }
  })
export const searchResultAPI = (q, page, per_page) =>
  request({
    url: '/v1_0/search',
    params: {
      q,
      page,
      per_page
    }
  })
